#ifndef MESSAGEDISPATHER_H
#define MESSAGEDISPATHER_H

#include "d3dUtil.h"
#include "Message.h"
#include "KeyboardSubject.h"
#include "MouseSubject.h"

class MessageDispatcher
{
public:
	~MessageDispatcher(void);
	static MessageDispatcher* Instance();

	void DispatchMouseMessage(MouseMsg msg,LPARAM lParam);
	void DispatchKeyboardMessage(WPARAM wParam);
	void DispatchKeyboardDownMessage();

private:
	MessageDispatcher();
	MessageDispatcher(const MessageDispatcher&);
	MessageDispatcher& operator=(const MessageDispatcher&);
};



#endif


